#岛屿id分配
scoreboard players operation @a[tag=fisland_getting_island] fisland_is_id = $static_id fisland_is_id
scoreboard players operation @s fisland_is_id = $static_id fisland_is_id
#盔甲架
tag @s add fisland_island
tag @s remove fisland_next_island
#新的盔甲架生成
summon armor_stand ~ ~ ~ {Tags:["fisland_next_island"],NoGravity:true,Invisible:true,Invulnerable:true,Marker:true}
scoreboard players operation $fisland_id_temp fisland_temp = $static_id fisland_is_id
scoreboard players operation $fisland_id_temp fisland_temp %= $C_10 fisland_temp
execute unless score $fisland_id_temp fisland_temp matches 9 run tp @e[tag=fisland_next_island] ~ ~ ~300
execute unless score $fisland_id_temp fisland_temp matches 9 run forceload add ~ ~300
execute if score $fisland_id_temp fisland_temp matches 9 run tp @e[tag=fisland_next_island] ~300 ~ 0 
execute if score $fisland_id_temp fisland_temp matches 9 run forceload add ~300 0
#
scoreboard players add $static_id fisland_is_id 1